package org.wk.affiliate.enums;

/**
 * @author TangShenShen
 * @Description: 公告发布状态
 * @date 2018/6/814:02
 */
public enum NoticeStatus {
    UNPUBLISHED("unpublished","未发布"),
    PUBLISHED("published","已发布");
    private String code;
    private String name;

    public void setCode(String code) {
        this.code = code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {

        return code;
    }

    public String getName() {
        return name;
    }

    NoticeStatus(String code, String name) {

        this.code = code;
        this.name = name;
    }
}
